package org.example.feign;

import org.example.vo.User;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


//@Service
@Component
//@Configuration
public class UserOpenFeignClientImpl implements UserOpenFeignClient{
    @Override
    public User getById(Integer id) {
        return new User().setId(1).setUsername("zhangsan").setPassword("123");
    }
}
